#include<iostream>
using namespace std;

int main()
{
	int r = 0;
	cin >> r;
	cout << (4 * (3.14 * r * r * r)) / 3 << endl;
	return 0;
}